#ifndef pkm_renderlayer_h
#define pkm_renderlayer_h

#include "RenderData.h"

#define SIZE_MODE_NONE 0
#define SIZE_MODE_MULTIPLY 1
#define SIZE_MODE_ABSOLUTE 2

namespace k2graphics
{

class RenderLayer
{
public:
	int numObjects;
	int maxObjects;
	RenderData** objects;
	double invLayerParallax;
	float hw;
	float hh;
	int sizeMode;

	RenderLayer();
	~RenderLayer();

	void initMax(int maxObjs);
	void addObj(RenderData* obj);
	void clear();
	void setParallax(double invParallax);
	void deleteObjects();
};

}
#endif
